home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
326-350
/
disk_327
/
msh
/
src
/
die.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-06
|
397b
|
22 lines
/*-
* DIE.C
*
* This code is (C) Copyright 1989 by Olaf Seibert. All rights reserved. May
* not be used or copied without a licence.
-*/
main(argc, argv)
int argc;
char **argv;
{
struct MsgPort *filehandler, *DeviceProc();
if (argc == 2) {
if (filehandler = DeviceProc(argv[1])) {
dos_packet(filehandler, ACTION_DIE, DOSTRUE);
}
} else
printf("Usage: die DEV:\n");
}